﻿@using WaterRevenueMS.WebUI.Extension.MvcHelper
@using WaterRevenueMS.Domain.ViewModels.ReadMeterMS.TaskTemplet
@model TaskTempletModel

@using (Html.BeginForm("Edit", "TaskTemplet", FormMethod.Post, new { @class = "form-horizontal", @id = "modal-content" }))
{           
@Html.HiddenFor(t => t.Id)
<div class="control-group">
    <label class="control-label-form">
        模版名称 :
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Ren_WMC, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Ren_WMC)
    </div>
</div>


<div class="control-group">
    <label class="control-label-form">
      抄表年度:
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Chao_BND, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Chao_BND)
    </div>
</div>


<div class="control-group">
    <label class="control-label-form">
       抄表月度:
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Chao_BYD, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Chao_BYD)
    </div>
</div>

<div class="control-group">
    <label class="control-label-form">
       区域名称:
    </label>
    <div class="controls">
        @Html.DropDownListFor(t => t.Qu_YSZ_No, Model.Areas, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Qu_YSZ_No)
    </div>
</div>

<div class="control-group">
    <label class="control-label-form">
       表册名称:
    </label>
    <div class="controls">
        @Html.DropDownListFor(t => t.Biao_CSZ_No, Model.MeterBooks, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Biao_CSZ_No)
    </div>
</div>

<div class="control-group">
    <label class="control-label-form">
        抄表员名称:
    </label>
    <div class="controls">
        @Html.DropDownListFor(t => t.Chao_BY_No, Model.MeterReaders, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Chao_BY_No)
    </div>
</div>
}